package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotBlank;
import java.util.Map;

@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "新增【工资表（工资条统计）】的参数")
@Data
public class HrMessageDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("服务名称")
    @NotBlank(message = "服务名称不能为空")
    private String appName;

    @ApiModelProperty("电话号码")
    @NotBlank(message = "电话号码不能为空")
    private String phone;

    @ApiModelProperty("场景，不同场景验证码不可通用")
    @NotBlank(message = "场景不能为空")
    private String scene;

    @ApiModelProperty("参数")
    private Map<String, Object> params;

    @ApiModelProperty("验证码,短信校验时候用,发送时不需要")
    private String captcha;

    @ApiModelProperty("短信归属租户")
    private String siteId;
}
